home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / profile / nsIProfileInternal.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  23KB  |  456 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIProfileInternal.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIProfileInternal_h__
  6. #define __gen_nsIProfileInternal_h__
  7.  
  8.  
  9. #ifndef __gen_nsIProfile_h__
  10. #include "nsIProfile.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsICmdLineService; /* forward declaration */
  18.  
  19. class nsIFile; /* forward declaration */
  20.  
  21. class nsILocalFile; /* forward declaration */
  22.  
  23. class nsISupportsArray; /* forward declaration */
  24.  
  25. #define NS_ERROR_PROFILE_REQUIRES_INTERACTION NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_PROFILE, 1)
  26.  
  27. /* starting interface:    nsIProfileInternal */
  28. #define NS_IPROFILEINTERNAL_IID_STR "2f977d42-5485-11d4-87e2-0010a4e75ef2"
  29.  
  30. #define NS_IPROFILEINTERNAL_IID \
  31.   {0x2f977d42, 0x5485, 0x11d4, \
  32.     { 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 }}
  33.  
  34. class NS_NO_VTABLE nsIProfileInternal : public nsIProfile {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPROFILEINTERNAL_IID)
  38.  
  39.   /**
  40.      * Starts up the profile manager
  41.      *
  42.      * @param cmdLine       Arguments passed from command line - can be null
  43.      * @param canInteract   Whether dialogs can be shown during startup
  44.      *                      If false and dialogs would need to be shown, returns NS_ERROR_PROFILE_REQUIRES_INTERRACTION
  45.      */
  46.   /* [noscript] void startupWithArgs (in nsICmdLineService cmdLine, in boolean canInteract); */
  47.   NS_IMETHOD StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract) = 0;
  48.  
  49.   /**
  50.      * Returns TRUE if in the midst of startupWithArgs
  51.      */
  52.   /* [noscript] readonly attribute boolean isStartingUp; */
  53.   NS_IMETHOD GetIsStartingUp(PRBool *aIsStartingUp) = 0;
  54.  
  55.   /* long get4xProfileCount (); */
  56.   NS_IMETHOD Get4xProfileCount(PRInt32 *_retval) = 0;
  57.  
  58.   /**
  59.     * The following values are used with getProfileListX
  60.     *
  61.     * LIST_ONLY_NEW     - the list will contain only migrated profiles
  62.     * LIST_ONLY_OLD     - the list will contain only un-migrated profiles
  63.     * LIST_ALL          - the list will contain all profiles
  64.     * LIST_FOR_IMPORT   - the list is generated from 4.x registry and contains
  65.     *                     all the 4.x profiles
  66.     *                     do not use this except from the import module
  67.     * 
  68.     */
  69.   enum { LIST_ONLY_NEW = 1U };
  70.  
  71.   enum { LIST_ONLY_OLD = 2U };
  72.  
  73.   enum { LIST_ALL = 3U };
  74.  
  75.   enum { LIST_FOR_IMPORT = 4U };
  76.  
  77.   /* void getProfileListX (in unsigned long which, out unsigned long length, [array, size_is (length), retval] out wstring profileNames); */
  78.   NS_IMETHOD GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames) = 0;
  79.  
  80.   /* void migrateProfileInfo (); */
  81.   NS_IMETHOD MigrateProfileInfo(void) = 0;
  82.  
  83.   /* void migrateAllProfiles (); */
  84.   NS_IMETHOD MigrateAllProfiles(void) = 0;
  85.  
  86.   /* void migrateProfile (in wstring profileName); */
  87.   NS_IMETHOD MigrateProfile(const PRUnichar *profileName) = 0;
  88.  
  89.   /* void remigrateProfile (in wstring profileName); */
  90.   NS_IMETHOD RemigrateProfile(const PRUnichar *profileName) = 0;
  91.  
  92.   /* void forgetCurrentProfile (); */
  93.   NS_IMETHOD ForgetCurrentProfile(void) = 0;
  94.  
  95.   /* void createDefaultProfile (); */
  96.   NS_IMETHOD CreateDefaultProfile(void) = 0;
  97.  
  98.   /**
  99.      * Returns the actual profile directory
  100.      */
  101.   /* nsIFile getProfileDir (in wstring profileName); */
  102.   NS_IMETHOD GetProfileDir(const PRUnichar *profileName, nsIFile **_retval) = 0;
  103.  
  104.   /**
  105.      * Returns the path to a profile which can be shown to the user.
  106.      * If the actual profile directory is salted, returns the unsalted parent.
  107.      * This is the directory which will be deleted by deleteProfile(name, true).
  108.      */
  109.   /* wstring getProfilePath (in wstring profileName); */
  110.   NS_IMETHOD GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval) = 0;
  111.  
  112.   /**
  113.      * Returns a profile directory of the importType. The path will point to 
  114.      * the 4.x profile directory. Should be used only from the import module.
  115.      */
  116.   /* nsILocalFile getOriginalProfileDir (in wstring profileName); */
  117.   NS_IMETHOD GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval) = 0;
  118.  
  119.   /**
  120.      * Returns the date on which a profile was last used.
  121.      * value is in milliseconds since midnight Jan 1, 1970 GMT (same as nsIFile)
  122.      */
  123.   /* PRInt64 getProfileLastModTime (in wstring profileName); */
  124.   NS_IMETHOD GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval) = 0;
  125.  
  126.   /* attribute boolean automigrate; */
  127.   NS_IMETHOD GetAutomigrate(PRBool *aAutomigrate) = 0;
  128.   NS_IMETHOD SetAutomigrate(PRBool aAutomigrate) = 0;
  129.  
  130.   /* readonly attribute nsIFile defaultProfileParentDir; */
  131.   NS_IMETHOD GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir) = 0;
  132.  
  133.   /* readonly attribute wstring firstProfile; */
  134.   NS_IMETHOD GetFirstProfile(PRUnichar * *aFirstProfile) = 0;
  135.  
  136.   /**
  137.      * Affects startup behavior when there are multiple profiles.
  138.      *  If FALSE, the profile selection dialog will be shown.
  139.      *  If TRUE, the last used profile will be chosen automatically.
  140.      */
  141.   /* attribute boolean startWithLastUsedProfile; */
  142.   NS_IMETHOD GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile) = 0;
  143.   NS_IMETHOD SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile) = 0;
  144.  
  145.   /* [noscript] void updateRegistry (in nsIFile regName); */
  146.   NS_IMETHOD UpdateRegistry(nsIFile *regName) = 0;
  147.  
  148.   /* [noscript] void getRegStrings (in wstring profileName, out wstring regString, out wstring regName, out wstring regEmail, out wstring regOption); */
  149.   NS_IMETHOD GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption) = 0;
  150.  
  151.   /* [noscript] void setRegStrings (in wstring profileName, in wstring regString, in wstring regName, in wstring regEmail, in wstring regOption); */
  152.   NS_IMETHOD SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption) = 0;
  153.  
  154.   /* [noscript] string isRegStringSet (in wstring profileName); */
  155.   NS_IMETHOD IsRegStringSet(const PRUnichar *profileName, char **_retval) = 0;
  156.  
  157.   /* void createNewProfileWithLocales (in wstring profileName, in wstring nativeProfileDir, in wstring UILocale, in wstring contentLocale, in boolean useExistingDir); */
  158.   NS_IMETHOD CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir) = 0;
  159.  
  160.   /**
  161.     * The remaining methods are deprecated. DO NOT USE THEM.
  162.     */
  163.   /* boolean isCurrentProfileAvailable (); */
  164.   NS_IMETHOD IsCurrentProfileAvailable(PRBool *_retval) = 0;
  165.  
  166.   /* [noscript] void getCurrentProfileDir (out nsIFile profileDir); */
  167.   NS_IMETHOD GetCurrentProfileDir(nsIFile **profileDir) = 0;
  168.  
  169. };
  170.  
  171. /* Use this macro when declaring classes that implement this interface. */
  172. #define NS_DECL_NSIPROFILEINTERNAL \
  173.   NS_IMETHOD StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract); \
  174.   NS_IMETHOD GetIsStartingUp(PRBool *aIsStartingUp); \
  175.   NS_IMETHOD Get4xProfileCount(PRInt32 *_retval); \
  176.   NS_IMETHOD GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames); \
  177.   NS_IMETHOD MigrateProfileInfo(void); \
  178.   NS_IMETHOD MigrateAllProfiles(void); \
  179.   NS_IMETHOD MigrateProfile(const PRUnichar *profileName); \
  180.   NS_IMETHOD RemigrateProfile(const PRUnichar *profileName); \
  181.   NS_IMETHOD ForgetCurrentProfile(void); \
  182.   NS_IMETHOD CreateDefaultProfile(void); \
  183.   NS_IMETHOD GetProfileDir(const PRUnichar *profileName, nsIFile **_retval); \
  184.   NS_IMETHOD GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval); \
  185.   NS_IMETHOD GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval); \
  186.   NS_IMETHOD GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval); \
  187.   NS_IMETHOD GetAutomigrate(PRBool *aAutomigrate); \
  188.   NS_IMETHOD SetAutomigrate(PRBool aAutomigrate); \
  189.   NS_IMETHOD GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir); \
  190.   NS_IMETHOD GetFirstProfile(PRUnichar * *aFirstProfile); \
  191.   NS_IMETHOD GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile); \
  192.   NS_IMETHOD SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile); \
  193.   NS_IMETHOD UpdateRegistry(nsIFile *regName); \
  194.   NS_IMETHOD GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption); \
  195.   NS_IMETHOD SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption); \
  196.   NS_IMETHOD IsRegStringSet(const PRUnichar *profileName, char **_retval); \
  197.   NS_IMETHOD CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir); \
  198.   NS_IMETHOD IsCurrentProfileAvailable(PRBool *_retval); \
  199.   NS_IMETHOD GetCurrentProfileDir(nsIFile **profileDir); 
  200.  
  201. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  202. #define NS_FORWARD_NSIPROFILEINTERNAL(_to) \
  203.   NS_IMETHOD StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract) { return _to StartupWithArgs(cmdLine, canInteract); } \
  204.   NS_IMETHOD GetIsStartingUp(PRBool *aIsStartingUp) { return _to GetIsStartingUp(aIsStartingUp); } \
  205.   NS_IMETHOD Get4xProfileCount(PRInt32 *_retval) { return _to Get4xProfileCount(_retval); } \
  206.   NS_IMETHOD GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames) { return _to GetProfileListX(which, length, profileNames); } \
  207.   NS_IMETHOD MigrateProfileInfo(void) { return _to MigrateProfileInfo(); } \
  208.   NS_IMETHOD MigrateAllProfiles(void) { return _to MigrateAllProfiles(); } \
  209.   NS_IMETHOD MigrateProfile(const PRUnichar *profileName) { return _to MigrateProfile(profileName); } \
  210.   NS_IMETHOD RemigrateProfile(const PRUnichar *profileName) { return _to RemigrateProfile(profileName); } \
  211.   NS_IMETHOD ForgetCurrentProfile(void) { return _to ForgetCurrentProfile(); } \
  212.   NS_IMETHOD CreateDefaultProfile(void) { return _to CreateDefaultProfile(); } \
  213.   NS_IMETHOD GetProfileDir(const PRUnichar *profileName, nsIFile **_retval) { return _to GetProfileDir(profileName, _retval); } \
  214.   NS_IMETHOD GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval) { return _to GetProfilePath(profileName, _retval); } \
  215.   NS_IMETHOD GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval) { return _to GetOriginalProfileDir(profileName, _retval); } \
  216.   NS_IMETHOD GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval) { return _to GetProfileLastModTime(profileName, _retval); } \
  217.   NS_IMETHOD GetAutomigrate(PRBool *aAutomigrate) { return _to GetAutomigrate(aAutomigrate); } \
  218.   NS_IMETHOD SetAutomigrate(PRBool aAutomigrate) { return _to SetAutomigrate(aAutomigrate); } \
  219.   NS_IMETHOD GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir) { return _to GetDefaultProfileParentDir(aDefaultProfileParentDir); } \
  220.   NS_IMETHOD GetFirstProfile(PRUnichar * *aFirstProfile) { return _to GetFirstProfile(aFirstProfile); } \
  221.   NS_IMETHOD GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile) { return _to GetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \
  222.   NS_IMETHOD SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile) { return _to SetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \
  223.   NS_IMETHOD UpdateRegistry(nsIFile *regName) { return _to UpdateRegistry(regName); } \
  224.   NS_IMETHOD GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption) { return _to GetRegStrings(profileName, regString, regName, regEmail, regOption); } \
  225.   NS_IMETHOD SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption) { return _to SetRegStrings(profileName, regString, regName, regEmail, regOption); } \
  226.   NS_IMETHOD IsRegStringSet(const PRUnichar *profileName, char **_retval) { return _to IsRegStringSet(profileName, _retval); } \
  227.   NS_IMETHOD CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir) { return _to CreateNewProfileWithLocales(profileName, nativeProfileDir, UILocale, contentLocale, useExistingDir); } \
  228.   NS_IMETHOD IsCurrentProfileAvailable(PRBool *_retval) { return _to IsCurrentProfileAvailable(_retval); } \
  229.   NS_IMETHOD GetCurrentProfileDir(nsIFile **profileDir) { return _to GetCurrentProfileDir(profileDir); } 
  230.  
  231. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  232. #define NS_FORWARD_SAFE_NSIPROFILEINTERNAL(_to) \
  233.   NS_IMETHOD StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartupWithArgs(cmdLine, canInteract); } \
  234.   NS_IMETHOD GetIsStartingUp(PRBool *aIsStartingUp) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsStartingUp(aIsStartingUp); } \
  235.   NS_IMETHOD Get4xProfileCount(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Get4xProfileCount(_retval); } \
  236.   NS_IMETHOD GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileListX(which, length, profileNames); } \
  237.   NS_IMETHOD MigrateProfileInfo(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MigrateProfileInfo(); } \
  238.   NS_IMETHOD MigrateAllProfiles(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MigrateAllProfiles(); } \
  239.   NS_IMETHOD MigrateProfile(const PRUnichar *profileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->MigrateProfile(profileName); } \
  240.   NS_IMETHOD RemigrateProfile(const PRUnichar *profileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemigrateProfile(profileName); } \
  241.   NS_IMETHOD ForgetCurrentProfile(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForgetCurrentProfile(); } \
  242.   NS_IMETHOD CreateDefaultProfile(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateDefaultProfile(); } \
  243.   NS_IMETHOD GetProfileDir(const PRUnichar *profileName, nsIFile **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileDir(profileName, _retval); } \
  244.   NS_IMETHOD GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfilePath(profileName, _retval); } \
  245.   NS_IMETHOD GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOriginalProfileDir(profileName, _retval); } \
  246.   NS_IMETHOD GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProfileLastModTime(profileName, _retval); } \
  247.   NS_IMETHOD GetAutomigrate(PRBool *aAutomigrate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutomigrate(aAutomigrate); } \
  248.   NS_IMETHOD SetAutomigrate(PRBool aAutomigrate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutomigrate(aAutomigrate); } \
  249.   NS_IMETHOD GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultProfileParentDir(aDefaultProfileParentDir); } \
  250.   NS_IMETHOD GetFirstProfile(PRUnichar * *aFirstProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstProfile(aFirstProfile); } \
  251.   NS_IMETHOD GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \
  252.   NS_IMETHOD SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartWithLastUsedProfile(aStartWithLastUsedProfile); } \
  253.   NS_IMETHOD UpdateRegistry(nsIFile *regName) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateRegistry(regName); } \
  254.   NS_IMETHOD GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRegStrings(profileName, regString, regName, regEmail, regOption); } \
  255.   NS_IMETHOD SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRegStrings(profileName, regString, regName, regEmail, regOption); } \
  256.   NS_IMETHOD IsRegStringSet(const PRUnichar *profileName, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRegStringSet(profileName, _retval); } \
  257.   NS_IMETHOD CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateNewProfileWithLocales(profileName, nativeProfileDir, UILocale, contentLocale, useExistingDir); } \
  258.   NS_IMETHOD IsCurrentProfileAvailable(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCurrentProfileAvailable(_retval); } \
  259.   NS_IMETHOD GetCurrentProfileDir(nsIFile **profileDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentProfileDir(profileDir); } 
  260.  
  261. #if 0
  262. /* Use the code below as a template for the implementation class for this interface. */
  263.  
  264. /* Header file */
  265. class nsProfileInternal : public nsIProfileInternal
  266. {
  267. public:
  268.   NS_DECL_ISUPPORTS
  269.   NS_DECL_NSIPROFILEINTERNAL
  270.  
  271.   nsProfileInternal();
  272.  
  273. private:
  274.   ~nsProfileInternal();
  275.  
  276. protected:
  277.   /* additional members */
  278. };
  279.  
  280. /* Implementation file */
  281. NS_IMPL_ISUPPORTS1(nsProfileInternal, nsIProfileInternal)
  282.  
  283. nsProfileInternal::nsProfileInternal()
  284. {
  285.   /* member initializers and constructor code */
  286. }
  287.  
  288. nsProfileInternal::~nsProfileInternal()
  289. {
  290.   /* destructor code */
  291. }
  292.  
  293. /* [noscript] void startupWithArgs (in nsICmdLineService cmdLine, in boolean canInteract); */
  294. NS_IMETHODIMP nsProfileInternal::StartupWithArgs(nsICmdLineService *cmdLine, PRBool canInteract)
  295. {
  296.     return NS_ERROR_NOT_IMPLEMENTED;
  297. }
  298.  
  299. /* [noscript] readonly attribute boolean isStartingUp; */
  300. NS_IMETHODIMP nsProfileInternal::GetIsStartingUp(PRBool *aIsStartingUp)
  301. {
  302.     return NS_ERROR_NOT_IMPLEMENTED;
  303. }
  304.  
  305. /* long get4xProfileCount (); */
  306. NS_IMETHODIMP nsProfileInternal::Get4xProfileCount(PRInt32 *_retval)
  307. {
  308.     return NS_ERROR_NOT_IMPLEMENTED;
  309. }
  310.  
  311. /* void getProfileListX (in unsigned long which, out unsigned long length, [array, size_is (length), retval] out wstring profileNames); */
  312. NS_IMETHODIMP nsProfileInternal::GetProfileListX(PRUint32 which, PRUint32 *length, PRUnichar ***profileNames)
  313. {
  314.     return NS_ERROR_NOT_IMPLEMENTED;
  315. }
  316.  
  317. /* void migrateProfileInfo (); */
  318. NS_IMETHODIMP nsProfileInternal::MigrateProfileInfo()
  319. {
  320.     return NS_ERROR_NOT_IMPLEMENTED;
  321. }
  322.  
  323. /* void migrateAllProfiles (); */
  324. NS_IMETHODIMP nsProfileInternal::MigrateAllProfiles()
  325. {
  326.     return NS_ERROR_NOT_IMPLEMENTED;
  327. }
  328.  
  329. /* void migrateProfile (in wstring profileName); */
  330. NS_IMETHODIMP nsProfileInternal::MigrateProfile(const PRUnichar *profileName)
  331. {
  332.     return NS_ERROR_NOT_IMPLEMENTED;
  333. }
  334.  
  335. /* void remigrateProfile (in wstring profileName); */
  336. NS_IMETHODIMP nsProfileInternal::RemigrateProfile(const PRUnichar *profileName)
  337. {
  338.     return NS_ERROR_NOT_IMPLEMENTED;
  339. }
  340.  
  341. /* void forgetCurrentProfile (); */
  342. NS_IMETHODIMP nsProfileInternal::ForgetCurrentProfile()
  343. {
  344.     return NS_ERROR_NOT_IMPLEMENTED;
  345. }
  346.  
  347. /* void createDefaultProfile (); */
  348. NS_IMETHODIMP nsProfileInternal::CreateDefaultProfile()
  349. {
  350.     return NS_ERROR_NOT_IMPLEMENTED;
  351. }
  352.  
  353. /* nsIFile getProfileDir (in wstring profileName); */
  354. NS_IMETHODIMP nsProfileInternal::GetProfileDir(const PRUnichar *profileName, nsIFile **_retval)
  355. {
  356.     return NS_ERROR_NOT_IMPLEMENTED;
  357. }
  358.  
  359. /* wstring getProfilePath (in wstring profileName); */
  360. NS_IMETHODIMP nsProfileInternal::GetProfilePath(const PRUnichar *profileName, PRUnichar **_retval)
  361. {
  362.     return NS_ERROR_NOT_IMPLEMENTED;
  363. }
  364.  
  365. /* nsILocalFile getOriginalProfileDir (in wstring profileName); */
  366. NS_IMETHODIMP nsProfileInternal::GetOriginalProfileDir(const PRUnichar *profileName, nsILocalFile **_retval)
  367. {
  368.     return NS_ERROR_NOT_IMPLEMENTED;
  369. }
  370.  
  371. /* PRInt64 getProfileLastModTime (in wstring profileName); */
  372. NS_IMETHODIMP nsProfileInternal::GetProfileLastModTime(const PRUnichar *profileName, PRInt64 *_retval)
  373. {
  374.     return NS_ERROR_NOT_IMPLEMENTED;
  375. }
  376.  
  377. /* attribute boolean automigrate; */
  378. NS_IMETHODIMP nsProfileInternal::GetAutomigrate(PRBool *aAutomigrate)
  379. {
  380.     return NS_ERROR_NOT_IMPLEMENTED;
  381. }
  382. NS_IMETHODIMP nsProfileInternal::SetAutomigrate(PRBool aAutomigrate)
  383. {
  384.     return NS_ERROR_NOT_IMPLEMENTED;
  385. }
  386.  
  387. /* readonly attribute nsIFile defaultProfileParentDir; */
  388. NS_IMETHODIMP nsProfileInternal::GetDefaultProfileParentDir(nsIFile * *aDefaultProfileParentDir)
  389. {
  390.     return NS_ERROR_NOT_IMPLEMENTED;
  391. }
  392.  
  393. /* readonly attribute wstring firstProfile; */
  394. NS_IMETHODIMP nsProfileInternal::GetFirstProfile(PRUnichar * *aFirstProfile)
  395. {
  396.     return NS_ERROR_NOT_IMPLEMENTED;
  397. }
  398.  
  399. /* attribute boolean startWithLastUsedProfile; */
  400. NS_IMETHODIMP nsProfileInternal::GetStartWithLastUsedProfile(PRBool *aStartWithLastUsedProfile)
  401. {
  402.     return NS_ERROR_NOT_IMPLEMENTED;
  403. }
  404. NS_IMETHODIMP nsProfileInternal::SetStartWithLastUsedProfile(PRBool aStartWithLastUsedProfile)
  405. {
  406.     return NS_ERROR_NOT_IMPLEMENTED;
  407. }
  408.  
  409. /* [noscript] void updateRegistry (in nsIFile regName); */
  410. NS_IMETHODIMP nsProfileInternal::UpdateRegistry(nsIFile *regName)
  411. {
  412.     return NS_ERROR_NOT_IMPLEMENTED;
  413. }
  414.  
  415. /* [noscript] void getRegStrings (in wstring profileName, out wstring regString, out wstring regName, out wstring regEmail, out wstring regOption); */
  416. NS_IMETHODIMP nsProfileInternal::GetRegStrings(const PRUnichar *profileName, PRUnichar **regString, PRUnichar **regName, PRUnichar **regEmail, PRUnichar **regOption)
  417. {
  418.     return NS_ERROR_NOT_IMPLEMENTED;
  419. }
  420.  
  421. /* [noscript] void setRegStrings (in wstring profileName, in wstring regString, in wstring regName, in wstring regEmail, in wstring regOption); */
  422. NS_IMETHODIMP nsProfileInternal::SetRegStrings(const PRUnichar *profileName, const PRUnichar *regString, const PRUnichar *regName, const PRUnichar *regEmail, const PRUnichar *regOption)
  423. {
  424.     return NS_ERROR_NOT_IMPLEMENTED;
  425. }
  426.  
  427. /* [noscript] string isRegStringSet (in wstring profileName); */
  428. NS_IMETHODIMP nsProfileInternal::IsRegStringSet(const PRUnichar *profileName, char **_retval)
  429. {
  430.     return NS_ERROR_NOT_IMPLEMENTED;
  431. }
  432.  
  433. /* void createNewProfileWithLocales (in wstring profileName, in wstring nativeProfileDir, in wstring UILocale, in wstring contentLocale, in boolean useExistingDir); */
  434. NS_IMETHODIMP nsProfileInternal::CreateNewProfileWithLocales(const PRUnichar *profileName, const PRUnichar *nativeProfileDir, const PRUnichar *UILocale, const PRUnichar *contentLocale, PRBool useExistingDir)
  435. {
  436.     return NS_ERROR_NOT_IMPLEMENTED;
  437. }
  438.  
  439. /* boolean isCurrentProfileAvailable (); */
  440. NS_IMETHODIMP nsProfileInternal::IsCurrentProfileAvailable(PRBool *_retval)
  441. {
  442.     return NS_ERROR_NOT_IMPLEMENTED;
  443. }
  444.  
  445. /* [noscript] void getCurrentProfileDir (out nsIFile profileDir); */
  446. NS_IMETHODIMP nsProfileInternal::GetCurrentProfileDir(nsIFile **profileDir)
  447. {
  448.     return NS_ERROR_NOT_IMPLEMENTED;
  449. }
  450.  
  451. /* End of implementation class template. */
  452. #endif
  453.  
  454.  
  455. #endif /* __gen_nsIProfileInternal_h__ */
  456.